<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<style>
	.pre{
		margin-left:5px;
	}
	p{
		width:580px !important;
	}
</style>
<div class="pageContent">
<form method="post" action="${contextPath }/online_gen/custom" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadNavTab);">
	<div class="pageFormContent" layoutH="58">
		<h3 style="color:red">1.以下字段为空则使用默认值或者配置的值进行生成,输入框后为当前配置值或者默认值</h3>
		<h3 style="color:red;margin-top:10px">2.如果存在对应文件 , 则跳过该文件的生成</h3>
		<br/>
		<input type="hidden" name="tableName" value="${tableName}"/>
		<p>
			<label>包名：</label>
			<input type="text" name="packageName" class="input-medium " placeholder="模块基包"/>
			
			<span class="pre">${packageName}</span>
		</p>
		<p>
			<label>项目路径：</label>
			<input type="text" name="projectPath" class="input-medium " placeholder="代码生成基路径"/>
			<span class="pre">${projectPath}</span>
		</p>
		<p>
			<label>表前缀：</label>
			<input type="text" name="tablePrefix" class="input-medium" placeholder="表前缀"/>
			<span class="pre">${tablePrefix}</span>
		</p>
		<p>
			<label>基地址：</label>
			<input type="text" name="requestMapping" class="input-medium " placeholder="控制器地址"/>
			<span class="pre">/${instanceName}</span>
		</p>
		<p>
			<label>实体名：</label>
			<input type="text" name="entityName" class="input-medium" placeholder="Entity名"/>
			<span class="pre">${entityName}</span>
		</p>
		<p>
			<label>实列名：</label>
			<input type="text" name="instanceName" class="input-medium "  placeholder="Entity的实列名"/>
			<span class="pre">${instanceName}</span>
		</p>		
		<p>
			<label>模块名：</label>
			<input type="text" name="moduleName" class="input-medium" placeholder="模块名字，建议中文"/>
			<span class="pre">${entityName}</span>
		</p>
		
		
	</div>
			
	<div class="formBar">
		<ul>
			<li><div class="button"><div class="buttonContent"><button type="submit">生成</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
</form>
</div>